When MediaWiki is being run behind a proxy, also check the X-Real-IP header to determ...
authorRyan Schmidt <skizzerz@users.mediawiki.org>
Mon, 15 Aug 2011 04:50:51 +0000 (04:50 +0000)
committerRyan Schmidt <skizzerz@users.mediawiki.org>
Mon, 15 Aug 2011 04:50:51 +0000 (04:50 +0000)
commit6b202638936967c66813e36c0b9443824834a4aa
tree7b871491ef260fa601a4c959c918404be8242a5b
parentf7ae0b261dc4f22b381c505d7d7aa8c380655ccf
When MediaWiki is being run behind a proxy, also check the X-Real-IP header to determine the client's actual IP address (some servers such as nginx might set this instead of X-Forwarded-For depending on configuration).
RELEASE-NOTES-1.19
includes/ProxyTools.php